package com.winit.cloudlink.message;

import com.winit.cloudlink.common.Lifecycle2;
import com.winit.cloudlink.common.exception.CloudlinkException;
import org.springframework.amqp.rabbit.connection.ConnectionFactory;

public interface MessageTemplate extends Lifecycle2 {

	void send(Message<?> message) throws CloudlinkException;

	ConnectionFactory getConnectionFactory();

	void setMessageReturnedListener(MessageReturnedListener listener);


}
